namespace Gateway.IRepositories;
/// <summary>
/// 工作单元
/// </summary>
public interface IUnitOfWork
{
    /// <summary>
    /// 提交
    /// </summary>
    /// <returns></returns>
    void Commit();
    /// <summary>
    /// 提交 异步
    /// </summary>
    /// <returns></returns>
    Task CommitAsync();
}